import Mock from "mockjs";
import banner from "./banners.json"
import floor from "./floor.json"
import categoryList from "./categoryList.json"
import searchList from "./searchPhoneList.json"
import goodInfo from './detailGoodinfoList.json'
import shopCartList from './shopCartList.json'
import regUserList from './registerUserList.json'
import addressList from'./addressInfo.json'
import orderStatus from './payStatus.json'
Mock.mock("/mock/banner", { code: 200, data: banner })
Mock.mock("/mock/floor", { code: 200, data: floor })
Mock.mock("/mock/product/getBaseCategoryList", { code: 200, data: categoryList })
Mock.mock("/mock/getSearchList",{code:200,data:searchList})
Mock.mock("/mock/getGoodInfo",{code:200,data:goodInfo})
Mock.mock("/mock/shopCartInfo",{code:200,data:shopCartList})
//注册用户
Mock.mock("/mock/register",{code:200,data:regUserList})
//收货地址
Mock.mock("/mock/addressInfo",{code:200,data:addressList})
//查看支付成功的状态
Mock.mock("/mock/payStatus",{code:1000,data:orderStatus})


